#include "HelperHander.h"
#include "boost/HttpBoost.h"
#include "LittleRan.h"


HelperHander::HelperHander(void)
{
}


HelperHander::~HelperHander(void)
{
}



std::string HelperHander::WebserviceGetDate(std::string strUrl, std::string strData)
{
	std::string strPostUrl = strUrl;
	strPostUrl.append("?[");
	strPostUrl.append(strData);
	strPostUrl.append("]");
	std::string resultss = LittleTools::LittleRan::Utf8ToAnsi(WebserviceHandle::WebserviceGetDataAnsi(strPostUrl).c_str());
	return resultss;
}


std::string HelperHander::WebservicePostDate(std::string strUrl, std::string strData)
{
	std::string strPostUrl = strUrl;
	strPostUrl.append("[");
	strPostUrl.append(strData);
	strPostUrl.append("]");
	std::string resultss = LittleTools::LittleRan::Utf8ToAnsi(WebserviceHandle::WebservicePostDataAnsi(strPostUrl).c_str());
	return resultss;
}